////package com.ldxiwxr.controller.gen;
////
////import com.ldxiwxr.common.common.Result;
////import com.ldxiwxr.generator.utils.CodeProduceUtils;
////import io.swagger.annotations.Api;
////import io.swagger.annotations.ApiOperation;
////import org.springframework.stereotype.Controller;
////import org.springframework.web.bind.annotation.PostMapping;
////import org.springframework.web.bind.annotation.RestController;
////
////import javax.annotation.Resource;
////
////
/////**
//// * 代码生成控制类
//// *
//// * @author SuBanxia
//// */
////@Api(tags = "/GenerateController")
////@RestController
////public class GenerateController {
////    /**
////     * 引入生成代码工具类
////     */
////    @Resource
////    private CodeProduceUtils codeProduceUtils;
////
////    @ApiOperation(value = "根据对应表名生成代码")
////    @PostMapping("/generate")
////    public Result generate(String[] tableName){
////        try {
////            //调用代码生成工具类
////            codeProduceUtils.generateMybatisCode(tableName);
////        }catch (Exception e){
////            return Result.fail("未知错误，请重试");
////        }
////        return Result.success();
////    }
//}
